import requset from '../../api/request';

/**
 * @description: 获取条形码数据
 * @return {*}
 */
export const loginAPI = (data) => {
  return requset('login', 'post', data);
};

/**
 * @description: 获取用户信息
 * @return {*}
 */
export const getInfoAPI = () => {
    return requset('getInfo', 'get', {});
  };